package com.offcn.service.impl;

import com.offcn.dao.UserDao;
import com.offcn.pojo.User;
import com.offcn.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl implements UserService {
    // 持久层注入(业务层调用持久层)
    @Autowired
    private UserDao userDao;

    @Override
    public List<User> queryMore() {
        return userDao.queryMore();
    }
}
